Carbon


TaskProc

Header: Multiprocessing.h Carbon status: Supported

References the code to be executed as the preemptive task.

typedef OSStatus(* TaskProc) (
    void *parameter
);

You would declare your function like this if you were to name it MyCallback:

OSStatus MyCallback (
    void *parameter
);
parameter
function result

A result code.

AVAILABILITY

Supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)